// store/modules/collect.js
const collect = {
  state: {
    status: ''
  },
  mutations: {
    updateStatus(state, newStatus) {
      state.status = newStatus;
    }
  },
  actions: {
    setStatus({ commit }, newStatus) {
      commit('updateStatus', newStatus);
    }
  },
  getters: {
    getStatus: state => state.status
  }
};
export default collect;